import App from './App'
import requestApi from '@/utils/request/api.js' //接口配置
import request from '@/utils/request/request.js' //接口配置
import requestUrlConf from '@/utils/request/config.js' //请求地址配置
import Vue from 'vue'

import uView from '@/uni_modules/uview-ui'
Vue.use(uView);

Vue.prototype.$asynApi = requestApi; //挂载Api
Vue.prototype.$baseUrl = requestUrlConf.baseUrl; //全局调用接口地址baseUrl

Vue.prototype.$autoRequest = request.autoRequest; //post等请求
Vue.prototype.$getRequest = request.getRequest; //get请求

Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
    ...App
})
app.$mount()
